package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 考试信息对象 dz_kaoshi
 * 
 * @author ruoyi
 * @date 2022-09-02
 */
public class DzKaoshi extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 考试id */
    private Long ksId;

    /** 考试名称 */
    @Excel(name = "考试名称")
    private String ksName;

    private String covpic;

    public String getCovpic() {
        return covpic;
    }

    public void setCovpic(String covpic) {
        this.covpic = covpic;
    }

    /** 试卷id */
    @Excel(name = "试卷id")
    private Long sjId;

    /** 考试限时 */
    @Excel(name = "考试限时")
    private String limittime;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date stime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date etime;

    /** 及格分数线 */
    @Excel(name = "及格分数线")
    private Long jigef;

    /** 通过得学分 */
    @Excel(name = "通过得学分")
    private Long tgf;

    /** 参加得学分 */
    @Excel(name = "参加得学分")
    private Long cjf;

    /** 是否开放 */
    @Excel(name = "是否开放")
    private Long iskf;

    /** 发布人 */
    @Excel(name = "发布人")
    private Long huiyuanId;

    /** 所属院系 */
    @Excel(name = "所属院系")
    private Long deptId;

    public void setKsId(Long ksId) 
    {
        this.ksId = ksId;
    }

    public Long getKsId() 
    {
        return ksId;
    }
    public void setKsName(String ksName) 
    {
        this.ksName = ksName;
    }

    public String getKsName() 
    {
        return ksName;
    }
    public void setSjId(Long sjId) 
    {
        this.sjId = sjId;
    }

    public Long getSjId() 
    {
        return sjId;
    }
    public void setLimittime(String limittime) 
    {
        this.limittime = limittime;
    }

    public String getLimittime() 
    {
        return limittime;
    }
    public void setStime(Date stime) 
    {
        this.stime = stime;
    }

    public Date getStime() 
    {
        return stime;
    }
    public void setEtime(Date etime) 
    {
        this.etime = etime;
    }

    public Date getEtime() 
    {
        return etime;
    }
    public void setJigef(Long jigef) 
    {
        this.jigef = jigef;
    }

    public Long getJigef() 
    {
        return jigef;
    }
    public void setTgf(Long tgf) 
    {
        this.tgf = tgf;
    }

    public Long getTgf() 
    {
        return tgf;
    }
    public void setCjf(Long cjf) 
    {
        this.cjf = cjf;
    }

    public Long getCjf() 
    {
        return cjf;
    }
    public void setIskf(Long iskf) 
    {
        this.iskf = iskf;
    }

    public Long getIskf() 
    {
        return iskf;
    }
    public void setHuiyuanId(Long huiyuanId) 
    {
        this.huiyuanId = huiyuanId;
    }

    public Long getHuiyuanId() 
    {
        return huiyuanId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ksId", getKsId())
            .append("ksName", getKsName())
            .append("sjId", getSjId())
            .append("limittime", getLimittime())
            .append("stime", getStime())
            .append("etime", getEtime())
            .append("jigef", getJigef())
            .append("tgf", getTgf())
            .append("cjf", getCjf())
            .append("iskf", getIskf())
            .append("huiyuanId", getHuiyuanId())
            .append("deptId", getDeptId())
            .toString();
    }
}
